---
title: "Create a service booking"
method: POST
path: "/v1/bookings?is_double_booking_enabled={is_double_booking_enabled} (COPY)"
---

# Create a service booking

`POST /v1/bookings?is_double_booking_enabled={is_double_booking_enabled} (COPY)`

This API helps you to create a service booking request for an appointment. To create a group service booking, you must specify in the API request body the required `guest_id` and appointment-related `item` details. After you add appointment details for multiple guests, this API automatically creates a group booking. For more information on these parameters and how to create a group booking, refer to the **Request Body Details** table and the **Body** section respectively.If you have a preference for a specific therapist for the service, you can specify the required therapist ID in the API request body. If you have a preference for a specific gender of therapist for the service, you can specify the required gender option in the API request body.After you use this API to create a service booking, a unique 32-digit `booking_id` is generated. You can then use this `booking_id` to retrieve available slots for the service booking, reserve a slot for the service booking, and then confirm the service booking to complete the appointment-booking process.This API also allows guests to create service bookings for other guests, provided there is a relationship defined in Zenoti, and the booking can only be done by the host.  The host_id parameter in the request object can also select the host for group bookings. This API now supports Zenoti growth features.

## Path parameters

- `is_double_booking_enabled` boolean, required

## Query parameters

- `future_slot_days` string

## Request body

- object
  - `center_id` string — id of the center
  - `date` string, date — date of the appointment booking
  - `is_only_catalog_employees` boolean — Set to true if only online enabled employees should be considered for appointment booking
  - `guests` object[] — list of guests and their services selections
    - `id` string — id of the guest
    - `items` object[] — list of services for a guest
      - `item` object — id of service
        - `id` string — id of the object
      - `room` object — id of the room
        - `id` string — id of the object
      - `therapist` object — Therapist preference for the serivce
        - `id` string — id of therapist
        - `gender` '0' | '1' | '2' | '3' — gender of the therapist : 0 - any, 1 - female, 2 - male, 3 - specific, therapist id is mandatory if gender is set to 3.
      - `add_ons` object[] — list of add on services
        - `item` object — add on service id
          - `id` string — id of the object
    - `equipment` string — id of the equipment that is to be used in the service appointment.

## Response `200`

200

- union
  - object
    - `id` string
    - `error` unknown
  - object
    - `id` string
    - `Error` unknown
  - object
    - `id` string
    - `Error` unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zenoti/apis/zenoti-authentication.md) · [All operations](https://skmtc.net/zenoti/apis/zenoti-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenoti/zenoti-authentication/revisions/e628f892391a/schema)
